package OOday02.HomeWork2.Animal;

/**
 * @description: TODO
 * @author yumo
 * @version: 1.0
 * @date 2025/3/7 20:23
 */
public class Chick extends Animal{
    Chick(String name,int age,String color){
        super(name,age,color);
    }
    void eat(){
        System.out.println(name+"正在吃东西");
    }
    void layEggs(){
        System.out.println(name+"正在下蛋");
    }
}
